package com.yu.waterstation.common.entity.app;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@ApiModel("水票购买订单")
@Data
@TableName("ticket_order")
public class TicketOrder implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("商品标题")
    private String goodsTitle;

    @ApiModelProperty("订单的创建者")
    private String orderCreator;

    @ApiModelProperty("订单价格")
    private Integer orderPrice;

    @ApiModelProperty("水票价格")
    private Integer ticketPrice;

    @ApiModelProperty("寝室")
    private String address;

    @ApiModelProperty("订单状态: 1已完成 2未支付 3已取消")
    private Integer orderStatus;

    @ApiModelProperty("支付类型")
    private String payType;

    @ApiModelProperty("订单的处理者")
    private String orderHandler;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("完成时间")
    private Date finishTime;


}